package com.ddwl.gate.mapper;

import com.ddwl.common.dao.mapper.TkMapper;
import com.ddwl.gate.model.AutoRefundConfig;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @Author hemiaojun
 * @Date 2020/10/27 11:25
 */
@Repository
public interface AutoRefundConfigMapper extends TkMapper<AutoRefundConfig> {

    @Update("UPDATE sys_auto_refund_config SET id = #{newId} WHERE id = #{oldId} ")
    void changeId(String oldId, String newId);

}
